<!--<?php
print <<<EOT
-->
<div class="member_title">
	<span>站内短信</span>
<!--
EOT;
if(getPopedom(3)==1){
print <<<EOT
-->
	<a href="javascript:void(0);" onclick="popwin.showURL('写新短信','viewmsg.php?action=send',560,300)"><img src="images/btn_newmsg.gif" border="0" align="absmiddle" /></a>
<!--
EOT;
}else{
print <<<EOT
-->
	<a href="javascript:void(0);" onclick="popedom3_tips()"><img src="images/btn_newmsg.gif" border="0" align="absmiddle" /></a>
<!--
EOT;
}
print <<<EOT
-->
</div>
<form id="membermsg_form" onsubmit="return false;">
<table class="msg">
	<thead>
		<tr>
			<td class="msg_1">标题</td>
			<td class="msg_2">来自</td>
			<td class="msg_3">时间</td>
		</tr>
	</thead>
<!--
EOT;
foreach($rows as $row){
print <<<EOT
-->
	<tbody class="{$row['css']}">
		<tr>
			<td class="msg_1"><input type="checkbox" name="msgids[]" value="{$row['id']}" class="checkbox_css" /> <a href="javascript:void(0);" onclick="popwin.showURL('查看短信','viewmsg.php?id={$row['id']}',660,500)">{$row['title']}</a></td>
			<td class="msg_2">{$row['fromuser']}</td>
			<td class="msg_3">{$row['posttime']}</td>
		</tr>
	</tbody>
<!--
EOT;
}
print <<<EOT
-->
</table>
<div class="pagediv">
	<table class="pagetable"><tr><td class="left"><input type="checkbox" class="checkbox_css" onclick="msg_selectall(this.checked)" /> 全选 &nbsp; <input type="button" value="删除" class="button_css" onclick="deleteMsgs()" /></td><td class="right">{$pager->getPageStr()}</td></tr></table>
</div>
</form>
<!--
EOT;
?>
-->